package com.ld.wms.sysenum;

import lombok.Getter;

@Getter
public enum NodeTypeEnum {
    START_NODE("start","开始节点"),
    END_NODE("end","结束节点"),
    PARALLEL_NODE("parallel","并行节点"),
    SELECT_NODE("select","分支选择节点"),
    LOOP_NODE("loop","循环节点"),

    DELAY("delay","延时节点"),
    WAIT_FOR("waitFor","循环判断节点"),
    SET_VARIABLE("setVariable","给某个变量赋值"),
    CONDITION("condition","条件判断"),
    INCREMENT("increment","数字加减"),
    SET_PREFIX("setPrefix","给变量加前缀字符串"),
    SET_SUFFIX("setSuffix","给变量加后缀字符串"),
    LOOP_IN_SAMPLE("loopInSample","循环上样方法"),

    ;
    // 枚举内部变量，msg\code.
    private final String nodeName;
    private final String message;

    NodeTypeEnum(String nodeName, String message) {
        this.nodeName = nodeName;
        this.message = message;
    }


}
